package org.springcloud.plugin.stragegy.sentinel.loader;

import org.springcloud.plugin.stragegy.sentinel.parser.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;


/**
 * @Author yanggld
 * @Date 2020/1/10-10:55
 * @Description
 */
public class SentinelFileRuleLoader implements SentinelRuleLoader {

	@Autowired
	protected ApplicationContext applicationContext;

	@Autowired
	protected SentinelFlowRuleParser sentinelFlowRuleParser;

	@Autowired
	protected SentinelDegradeRuleParser sentinelDegradeRuleParser;

	@Autowired
	protected SentinelAuthorityRuleParser sentinelAuthorityRuleParser;

	@Autowired
	protected SentinelSystemRuleParser sentinelSystemRuleParser;

	@Autowired
	protected SentinelParamFlowRuleParser sentinelParamFlowRuleParser;


	/**
	 * 读取本地文件中的规则
	 */
	@Override
	public void load() {
		//TODO
	}
}
